.feature-info-content {
  padding: 12px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 滚动条样式 */
.feature-info-content::-webkit-scrollbar {
  width: 8px;
}

.feature-info-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.feature-info-content::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
  transition: background 0.2s;
}

.feature-info-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}


.feature-properties {
  font-size: 12px;
}

.feature-properties .ant-descriptions-item-label {
  background: #fafafa;
  font-weight: 500;
  width: 35%;
  padding: 6px 10px !important;
  font-size: 12px;
}

.feature-properties .ant-descriptions-item-content {
  word-break: break-all;
  padding: 6px 10px !important;
  font-size: 12px;
}

.feature-properties .ant-descriptions-row {
  border-bottom: 1px solid #f0f0f0;
}

.feature-info-content .ant-empty {
  margin-top: 60px;
}

.feature-info-content .ant-empty-description {
  color: #8c8c8c;
  font-size: 12px;
}

/* 要素选择器样式 - 紧凑型 */
.feature-selector {
  margin-bottom: 8px;
  padding: 6px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  flex-shrink: 0;
}

.feature-tree {
  max-height: 180px;
  overflow-y: auto;
  background: #fff;
  padding: 4px;
  border-radius: 2px;
}

.feature-tree .ant-tree-node-content-wrapper {
  font-size: 12px;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
}

.feature-tree .ant-tree-switcher {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-tree .ant-tree-iconEle {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.feature-tree .ant-tree-node-selected {
  background-color: #e6f7ff !important;
}

.feature-tree .ant-tree-title {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.feature-tree .ant-tree-treenode {
  padding: 1px 0;
  display: flex;
  align-items: center;
}

.feature-tree .ant-tree-indent-unit {
  width: 16px;
  display: inline-block;
}

.feature-tree::-webkit-scrollbar {
  width: 5px;
}

.feature-tree::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.feature-tree::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.feature-tree::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}
